/*
 * @Author: 陈迪秀 1170776994@qq.com
 * @Date: 2024-03-06 11:29:43
 * @LastEditors: 陈迪秀 1170776994@qq.com
 * @LastEditTime: 2024-03-06 16:00:19
 * @FilePath: \vite-project\src\main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import App from './App.vue'

//获取应用实例对象
const app = createApp(App)

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
//@ts-ignore忽略当前文件ts类型的检测否则有红色提示(打包会失败)
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'virtual:svg-icons-register'
import '@/styles/index.scss'
import gloablComponent from './components/index';
app.use(gloablComponent);
// console.log(import.meta.env)
app.use(ElementPlus, {
    locale: zhCn
})
app.mount('#app');
